package com.quanyan.club.mq;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by zhang on 16/8/2.
 */
public class ClubMedalMsg implements Serializable {

    @NotNull(message = "俱乐部ID不可为空")
    private Integer clubId;

    @NotNull(message = "运动项目ID不可为空")
    private Integer categoryId;

    @NotNull(message = "俱乐部勋章ID不可为空")
    private Integer medalId;

    private Integer uid;

    public Integer getClubId() {
        return clubId;
    }

    public void setClubId(Integer clubId) {
        this.clubId = clubId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getMedalId() {
        return medalId;
    }

    public void setMedalId(Integer medalId) {
        this.medalId = medalId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "ClubMedalMsg{" +
                "clubId=" + clubId +
                ", categoryId=" + categoryId +
                ", medalId=" + medalId +
                ", uid=" + uid +
                '}';
    }
}
